//
//  JZBHeader.m
//  JZB
//
//  Created by liujianlong on 2022/8/31.
//

#import "JZBHeader.h"
@interface JZBHeader()
@property (strong, nonatomic) IBOutlet UIView *line;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *lineLeft;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *lineRight;
@end
@implementation JZBHeader

- (IBAction)actionForBtn:(UIButton *)sender {
    if (sender.tag == 201) {
        
    }else if (sender.tag == 202){
        self.lineLeft.active = YES;
        self.lineRight.active = NO;
    }else if (sender.tag == 203){
        self.lineLeft.active = NO;
        self.lineRight.active = YES;
    }
    if (self.block) {
        self.block((int)sender.tag);
    }
}

@end
